package com.jeasonzhao.report.engine.irp;

import java.sql.Connection;
import java.sql.SQLException;

import com.jeasonzhao.commons.xml.XMLException;
import com.jeasonzhao.commons.xml.XMLNode;

/**
 * Get the connection from external resource provider, i.e. from Spring.
 */
public interface IConnectionProvider
{
    public Connection getConnection(XMLNode xmlNode)
        throws SQLException,XMLException;
}
